package com.dy.course.common;

public class ResponseMessage<T> {
	
	private ResponseHeader header;
	private T body;
	
	public ResponseMessage(){
		header = new ResponseHeader();
	}
	
	public ResponseHeader getHeader() {
		return header;
	}
	public void setHeader(ResponseHeader header) {
		this.header = header;
	}
	public T getBody() {
		return body;
	}
	public void setBody(T body) {
		this.body = body;
	}
	
	public void setCode(String code){
		header.setCode(code);
	}
	
	public void setMessage(String msg){
		header.setMessage(msg);
	}
	
	
	
	

}
